﻿@using Mulala.Cavan.Presentation.Mvc.Controller
@model Mulala.Cavan.Presentation.Mvc.ViewModel.INannyViewModel
@{
    var avatar = Model.Avatar + "_80@80.jpg";
}
<table width="100%" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="43%" style="padding: 8px 5px 5px 5px;">
            <a href="@Model.DetailUrl">
                <img src="@avatar" width="75" height="80" class="dtimg" /></a>
        </td>
        <td width="57%" rowspan="2" align="left" valign="top" style="padding-top: 20px; padding-left: 8px;">
            @Html.ActionLink(@Model.Item.Name, ActionConst.DETAIL, ControllerConst.NANNY, new { id = Model.Item.ID })<br />
            <p style="padding-top: 5px;">
                积分：@{ @Model.Item.UserAccount.Score }
                分</p>
            <p style="padding-top: 5px;">
                会员类型：<img src="@Model.UserAccountIcon" /></p>
        </td>
    </tr>
    <tr>
        <td align="center">
            @Html.ActionLink("修改头像", ActionConst.AVATAR, ControllerConst.NANNY)
        </td>
    </tr>
</table>
